<div class="breadcrumb"><?php the_breadcrumb(); ?></div>
<?php do_vertical_space('10'); ?>
<h1 class="font-azul">Últimas Notícias</h1>
<?php //( in_category('Artigos') ) == 0)
do_vertical_space('15');
global $aux; 
$aux = 1;
$temp = $wp_query;
$wp_query= null;
$wp_query = new WP_Query();
$wp_query->query('category_name=noticias&posts_per_page=2'.'&paged='.$paged);
$postCount = 0;

while ($wp_query->have_posts()) : $wp_query->the_post();
$postCount = $postCount + 1;
	
    	if ($aux == 1) { ?>
			<div style="width: 630px; height: 200px; margin: auto;">
				<div style="width: 308px; float: left;">
					<p>
					<a href="<?php the_permalink(); ?>"	title="<?php the_title_attribute();?>"><?php the_title();?></a>
					<?php the_excerpt(); ?>
				    </p>
				</div>
    	<?php $aux = $aux+1; 	
    	}
    	elseif ($aux == 2) { ?>
				<div style="width: 300px; float: right;">
					<p>
					<a href="<?php the_permalink(); ?>"	title="<?php the_title_attribute();?>"><?php the_title();?></a>
					<?php the_excerpt(); ?>
					</p>
				</div>
			</div>
		<?php $aux = 1; 

		
        }
	endwhile; 
	if ( $postCount%2 == 1 ) { ?>
   				<div style="width: 300px; float: right;"></div>
			</div>		
    <?php 
	}

	
	?>	
<div class="clr"></div>
<?php 
//Faz a paginação do conteúdo
$url = get_bloginfo( 'url' );
$url = $url.'/noticias/';
pagination( $wp_query, $url );
?>

